package com.small.view;


import android.app.Dialog;
import android.content.Context;
import android.widget.TextView;

import com.smell.R;


public class LoadingDailog extends Dialog {
	public LoadingDailog(Context context, String msg) {
		super(context, R.style.theme_dialog);
		this.setCanceledOnTouchOutside(false);
		setContentView(R.layout.loading_dialog);
		if (msg != null && !"".equals(msg))
			((TextView) findViewById(R.id.dialog_loading)).setText(msg);
	}

	public void UpMsg(String msg){
		((TextView) findViewById(R.id.dialog_loading)).setText(msg);
	}

}
